package com.ymatou.iapi.godmch.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;
/**
*设置商户店铺分享方式信息（运营后台）Call
*FreeMaker Template自动生成代码
*/
public class setShareTypeCall extends YmatouBaseCall{
	private static String opurl ="api/mch/setShareType";
	
	public setShareTypeCall() {
		super(EnvSetup.getSystemUrl("godmch_iapi"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	 public String getStatus1()
		{
			  return getString("status");
		}
			
	    public String getMessage()
		{
			 return getString("msg");
		}
}